package com.ruoyi.ucar.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.core.domain.UCarBaseEntity;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;

/**
 * 车辆品牌价格对象 t_brand_price
 * 
 * @author ruoyi
 * @date 2025-07-02
 */
@TableName("t_brand_price")
public class TBrandPrice extends UCarBaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @TableId(value="id",type = IdType.AUTO)
    private Long id;

    /** 车辆品牌价格UUID主键 */
    @TableField("BRAND_PRICE_UUID")
    @Excel(name = "车辆品牌价格UUID主键")
    private String brandPriceUuid;

    /** 车辆品牌 */
    @TableField("VEHICLE_BRAND")
    @Excel(name = "车辆品牌")
    private String vehicleBrand;

    /** 标准价格 */
    @TableField("PRICE")
    @Excel(name = "标准价格")
    private BigDecimal price;

    /** 实收价格 */
    @TableField("REAL_PRICE")
    @Excel(name = "实收价格")
    private BigDecimal realPrice;

    /** 进价 */
    @TableField("PURCHASING_PRICE")
    @Excel(name = "进价")
    private BigDecimal purchasingPrice;

    /** 返现价格 */
    @TableField("RETURN_PRICE")
    @ApiModelProperty(value = "返现价格")
    @Excel(name = "返现价格")
    private BigDecimal returnPrice;

    /** 产品类型 */
    @TableField("PRODUCT_TYPE")
    @ApiModelProperty(value = "产品类型")
    @Excel(name = "产品类型")
    private String productType;

    /** 创建人 */
    @TableField("CREATED_BY")
    @ApiModelProperty(value = "创建人")
    @Excel(name = "创建人")
    private String createdBy;

    /** 创建时间 */
    @TableField("CREATED_TIME")
    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdTime;

    /** 更新人 */
    @TableField("UPDATED_BY")
    @ApiModelProperty(value = "更新人")
    @Excel(name = "更新人")
    private String updatedBy;

    /** 更新时间 */
    @TableField("UPDATED_TIME")
    @ApiModelProperty(value = "更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updatedTime;

    /** 删除标志 */
    @TableField("DELETE_FLAG")
    @ApiModelProperty(value = "删除标志")
    @Excel(name = "删除标志")
    private Long deleteFlag;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public void setBrandPriceUuid(String brandPriceUuid)
    {
        this.brandPriceUuid = brandPriceUuid;
    }

    public String getBrandPriceUuid() 
    {
        return brandPriceUuid;
    }
    public void setVehicleBrand(String vehicleBrand) 
    {
        this.vehicleBrand = vehicleBrand;
    }

    public String getVehicleBrand() 
    {
        return vehicleBrand;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public void setRealPrice(BigDecimal realPrice)
    {
        this.realPrice = realPrice;
    }

    public BigDecimal getRealPrice() 
    {
        return realPrice;
    }
    public void setPurchasingPrice(BigDecimal purchasingPrice) 
    {
        this.purchasingPrice = purchasingPrice;
    }

    public BigDecimal getPurchasingPrice() 
    {
        return purchasingPrice;
    }
    public void setReturnPrice(BigDecimal returnPrice) 
    {
        this.returnPrice = returnPrice;
    }

    public BigDecimal getReturnPrice() 
    {
        return returnPrice;
    }
    public void setProductType(String productType) 
    {
        this.productType = productType;
    }

    public String getProductType() 
    {
        return productType;
    }
    public void setCreatedBy(String createdBy) 
    {
        this.createdBy = createdBy;
    }

    public String getCreatedBy() 
    {
        return createdBy;
    }
    public void setCreatedTime(Date createdTime) 
    {
        this.createdTime = createdTime;
    }

    public Date getCreatedTime() 
    {
        return createdTime;
    }
    public void setUpdatedBy(String updatedBy) 
    {
        this.updatedBy = updatedBy;
    }

    public String getUpdatedBy() 
    {
        return updatedBy;
    }
    public void setUpdatedTime(Date updatedTime) 
    {
        this.updatedTime = updatedTime;
    }

    public Date getUpdatedTime() 
    {
        return updatedTime;
    }
    public void setDeleteFlag(Long deleteFlag) 
    {
        this.deleteFlag = deleteFlag;
    }

    public Long getDeleteFlag() 
    {
        return deleteFlag;
    }


    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("brandPriceUuid", getBrandPriceUuid())
            .append("vehicleBrand", getVehicleBrand())
            .append("price", getPrice())
            .append("realPrice", getRealPrice())
            .append("purchasingPrice", getPurchasingPrice())
            .append("returnPrice", getReturnPrice())
            .append("productType", getProductType())
            .append("createdBy", getCreatedBy())
            .append("createdTime", getCreatedTime())
            .append("updatedBy", getUpdatedBy())
            .append("updatedTime", getUpdatedTime())
            .append("deleteFlag", getDeleteFlag())
            .toString();
    }
}
